package com.azkj.album.dto


import com.google.gson.annotations.SerializedName
import java.io.Serializable

data class ListData(
    @SerializedName("albumcategory") var albumcategory: Albumcategory,
    @SerializedName("background_id") var backgroundId: Int, // 7
    @SerializedName("background_image") var backgroundImage: String, // https://chaomabaopan.oss-cn-beijing.aliyuncs.com/uploads/20231108/d06c7b0539d3de0f4ec1ff6c4fd5f176.png
    @SerializedName("category_id") var categoryId: Int, // 3
    @SerializedName("choose_image") var chooseImage: String,
    @SerializedName("choose_images") var chooseImages: String,
    @SerializedName("collect_time") var collectTime: Int, // 0
    @SerializedName("cover_image") var coverImage: String, // https://chaomabaopan.oss-cn-beijing.aliyuncs.com/uploads/20231116/1171b426f46848e43c6001127b694ec5.jpg
    @SerializedName("createtime") var createtime: Int, // 1700460159
    @SerializedName("deletetime") var deletetime: Int, // 0
    @SerializedName("id") var id: Int, // 719
    @SerializedName("images") var images: String,
    @SerializedName("intro") var intro: String, // 简介
    @SerializedName("is_collect") var isCollect: Int, // 0
    @SerializedName("map_id") var mapId: Int, // 38
    @SerializedName("map_image") var mapImage: String, // https://chaomabaopan.oss-cn-beijing.aliyuncs.com/uploads/20231114/53aae42f8a19b2c224c716c33bcf9aef.jpg
    @SerializedName("remark") var remark: String, // 备注
    @SerializedName("share_id") var shareId: String, // f954c0452261ac83b9b6e7ad70bce5bb
    @SerializedName("status") var status: String, // normal
    @SerializedName("status_text") var statusText: String, // 正常
    @SerializedName("updatetime") var updatetime: Int, // 1700460159
    @SerializedName("user_id") var userId: Int // 1077
) : Serializable {

    data class Albumcategory(
        @SerializedName("createtime") var createtime: Int, // 0
        @SerializedName("id") var id: Int, // 3
        @SerializedName("name") var name: String, // 苹果
        @SerializedName("order_index") var orderIndex: Int, // 3
        @SerializedName("updatetime") var updatetime: Int // 1699964105
    ) : Serializable {
        override fun toString(): String {
            return "Albumcategory(createtime=$createtime, id=$id, name='$name', orderIndex=$orderIndex, updatetime=$updatetime)"
        }
    }

    override fun toString(): String {
        return "ListData(albumcategory=$albumcategory, backgroundId=$backgroundId, backgroundImage='$backgroundImage', categoryId=$categoryId, chooseImage='$chooseImage', chooseImages='$chooseImages', collectTime=$collectTime, coverImage='$coverImage', createtime=$createtime, deletetime=$deletetime, id=$id, images='$images', intro='$intro', isCollect=$isCollect, mapId=$mapId, mapImage='$mapImage', remark='$remark', shareId='$shareId', status='$status', statusText='$statusText', updatetime=$updatetime, userId=$userId)"
    }
}